var http = require("http");
var server = http.createServer(function(request,response){}).listening{
      console.log("服務器已經啟動")
});
server.on("listening",function(){
      console.log("監聽已啟動");
      //關閉服務器
server.close();
});
server.on("close",function(){
      	console.log("服務器已關閉")
});